<?php
	require 'config.php';
	
	$id = $_POST['id'];
	$name = $_POST['name'];
	$price = $_POST['price'];
	$type = $_POST['type'];
	$numbers = $_POST['numbers'];
	$address = $_POST['address'];
	$introduction = $_POST['introduction'];
	
	


	mysql_query("INSERT INTO r_commodity (commodity_uid,Course_Name,Price,Kind,Amount,Address,Course_Description) VALUES ('$id','$name','$price','$type','$numbers','$address','$introduction')") or die('SQL 错误！');

	echo mysql_affected_rows();
	
	mysql_close();
?>